package mn.idax.exchange.otc.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class OTCOrder implements Serializable {
    private Integer id;

    private String uniquekey;

    private String number;

    private Integer type;

    private Integer adid;

    private Integer buyer;

    private Integer seller;

    private Integer selltype;

    private String sellaccount;

    private String pairname;

    private BigDecimal pairprice;

    private BigDecimal qty;

    private Integer moneytype;

    private BigDecimal money;

    private BigDecimal buyerprocedurefee;

    private BigDecimal buyerprocedurefeerate;

    private BigDecimal sellerprocedurefee;

    private BigDecimal sellerprocedurefeerate;

    private Integer orderstate;

    private Integer ordersource;

    private Date caneltime;

    private Date expiretime;

    private Date createtime;

    private Date updatetime;

    private Integer ordersubstate;

    private Integer coinid;

    private Integer advertiser;

    private Integer owner;

    private String unit;

    private byte[] rowversion;

    private Boolean tradesuccess;

    public Boolean getTradesuccess() {
        return tradesuccess;
    }

    public void setTradesuccess(Boolean tradesuccess) {
        this.tradesuccess = tradesuccess;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUniquekey() {
        return uniquekey;
    }

    public void setUniquekey(String uniquekey) {
        this.uniquekey = uniquekey == null ? null : uniquekey.trim();
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getAdid() {
        return adid;
    }

    public void setAdid(Integer adid) {
        this.adid = adid;
    }

    public Integer getBuyer() {
        return buyer;
    }

    public void setBuyer(Integer buyer) {
        this.buyer = buyer;
    }

    public Integer getSeller() {
        return seller;
    }

    public void setSeller(Integer seller) {
        this.seller = seller;
    }

    public Integer getSelltype() {
        return selltype;
    }

    public void setSelltype(Integer selltype) {
        this.selltype = selltype;
    }

    public String getSellaccount() {
        return sellaccount;
    }

    public void setSellaccount(String sellaccount) {
        this.sellaccount = sellaccount == null ? null : sellaccount.trim();
    }

    public String getPairname() {
        return pairname;
    }

    public void setPairname(String pairname) {
        this.pairname = pairname == null ? null : pairname.trim();
    }

    public BigDecimal getPairprice() {
        return pairprice;
    }

    public void setPairprice(BigDecimal pairprice) {
        this.pairprice = pairprice;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public Integer getMoneytype() {
        return moneytype;
    }

    public void setMoneytype(Integer moneytype) {
        this.moneytype = moneytype;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getBuyerprocedurefee() {
        return buyerprocedurefee;
    }

    public void setBuyerprocedurefee(BigDecimal buyerprocedurefee) {
        this.buyerprocedurefee = buyerprocedurefee;
    }

    public BigDecimal getBuyerprocedurefeerate() {
        return buyerprocedurefeerate;
    }

    public void setBuyerprocedurefeerate(BigDecimal buyerprocedurefeerate) {
        this.buyerprocedurefeerate = buyerprocedurefeerate;
    }

    public BigDecimal getSellerprocedurefee() {
        return sellerprocedurefee;
    }

    public void setSellerprocedurefee(BigDecimal sellerprocedurefee) {
        this.sellerprocedurefee = sellerprocedurefee;
    }

    public BigDecimal getSellerprocedurefeerate() {
        return sellerprocedurefeerate;
    }

    public void setSellerprocedurefeerate(BigDecimal sellerprocedurefeerate) {
        this.sellerprocedurefeerate = sellerprocedurefeerate;
    }

    public Integer getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(Integer orderstate) {
        this.orderstate = orderstate;
    }

    public Integer getOrdersource() {
        return ordersource;
    }

    public void setOrdersource(Integer ordersource) {
        this.ordersource = ordersource;
    }

    public Date getCaneltime() {
        return caneltime;
    }

    public void setCaneltime(Date caneltime) {
        this.caneltime = caneltime;
    }

    public Date getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getOrdersubstate() {
        return ordersubstate;
    }

    public void setOrdersubstate(Integer ordersubstate) {
        this.ordersubstate = ordersubstate;
    }

    public Integer getCoinid() {
        return coinid;
    }

    public void setCoinid(Integer coinid) {
        this.coinid = coinid;
    }

    public Integer getAdvertiser() {
        return advertiser;
    }

    public void setAdvertiser(Integer advertiser) {
        this.advertiser = advertiser;
    }

    public Integer getOwner() {
        return owner;
    }

    public void setOwner(Integer owner) {
        this.owner = owner;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public byte[] getRowversion() {
        return rowversion;
    }

    public void setRowversion(byte[] rowversion) {
        this.rowversion = rowversion;
    }
}